import Mock from 'mockjs'
import constant from './constant'
const Random = Mock.Random;

Mock.mock(constant.baseURL + constant.InterfaceEnum.GET_PRIZE, (obj) => {
  console.log(JSON.parse(obj.body) || '')
  return Random.integer(0, 5)
})
